home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / chkflop.zip / CHKFLOP.DOC next >
Text File  |  1988-02-16  |  1KB  |  29 lines

  1.                           CHKFLOP
  2.  
  3. The CHKFLOP program sets an ErrorLevel based upon what it found when
  4. checking the floppy drive.  It is useful in a batch file to make
  5. decisions about whether a drive exists on the system, whether a diskette
  6. is in the drive, whether the diskette is formatted, whether the diskette
  7. contains data, etc.
  8.  
  9. The format of the command to use CHKFLOP is:
  10.                CHKFLOP driveid
  11.  
  12.    Example:  CHKFLOP B (no colon)
  13.  
  14. The Errorlevel set is:
  15.  
  16.       6 - Drive does NOT exist on the System.
  17.       5 - Drive door is open.
  18.       4 - Diskette in drive is NOT formatted.
  19.       3 - Diskette in drive is formatted but NOT as 360K (DSDD) and
  20.                    contains data.
  21.       2 - Diskette in drive is formatted but NOT as 360k (DSDD) and
  22.                    does NOT contain data.
  23.       1 - Diskette in drive formatted as 360k (DSDD) and
  24.                    contains data.
  25.       0 - Diskette in drive is formatted and does NOT
  26.                    contain data.
  27.  
  28.  
  29.